Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As IReportingConfigurationManagement Dim monitoringObjects As IEnumerable(Of T) Dim criteria As ManagementPackReportCriteria Dim returnValue As IList(Of ManagementPackReport) returnValue = instance.GetReports(monitoringObjects, criteria) |
Syntax
Visual Basic |
---|
Function GetReports(Of T As EnterpriseManagementObject) ( _ monitoringObjects As IEnumerable(Of T), _ criteria As ManagementPackReportCriteria _ ) As IList(Of ManagementPackReport) |
C# |
---|
IList<ManagementPackReport> GetReports<T> ( IEnumerable<T> monitoringObjects, ManagementPackReportCriteria criteria ) where T : EnterpriseManagementObject |
C++ |
---|
generic<typename T> where T : EnterpriseManagementObject IList<ManagementPackReport^>^ GetReports ( IEnumerable<T>^ monitoringObjects, ManagementPackReportCriteria^ criteria ) |
J# |
---|
|
JScript |
---|
|
GenericParameters
- T
-
The type of targets.
Of type EnterpriseManagementObject.
Parameters
- monitoringObjects
-
Type: IEnumerable{
The target instances.
- criteria
-
Type: ManagementPackReportCriteria
The search criteria.
Return Value
Returns IList. A list of linked report instances that are targeting the provided list of instances.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException |
The monitoringObjects parameter is a null reference (Nothing in Visual Basic). |
InvalidDatabaseDataException |
The database contained invalid data related to this method call. |
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.